﻿using System.ComponentModel.DataAnnotations;

namespace fCloud.SensorApi.Models;

public class AlarmShowInfo
{
    public string WarnTime { get; set; }
    public required string DeviceName { get; set; }
    public required string AlarmThreshold { get; set; }
    public double AlarmValue { get; set; }
    public double Value { get; set; }
}

public class AlarmInfoResponse
{
    public List<AlarmShowInfo> AlarmShowInfoList { get; set; } 
}